package com.whoiszxl.command.cmd;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 手机号注册指令
 *
 * @author whoiszxl
 * @date 2022/1/24
 */
@Data
@Schema(description = "手机号注册指令")
public class PhoneRegisterCommand {

    @NotBlank(message = "用户名不允许为空")
    @Schema(description = "用户名")
    private String username;

    @NotBlank(message = "密码不允许为空")
    @Schema(description = "密码")
    private String password;
}
